package com.qinglei.recoup.common.service;

import com.qinglei.recoup.common.exception.RecoupException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;

public interface FileService {

    /**
     * 上传图片文件
     * @param inputStream
     * @return
     */
    String uploadImage(MultipartFile file) throws IOException, RecoupException;
}
